@tailwind base;
@tailwind components;
@tailwind utilities;

.drop-down-control {
    width: rem(120px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--mantine-spacing-xs) var(--mantine-spacing-md);
    border-radius: var(--mantine-radius-md);
    border: rem(1px) solid #E5E7E7;
    transition: background-color 150ms ease;
    background-color: light-dark(var(--mantine-color-white), var(--mantine-color-dark-6));

    &[data-expanded] {
        background-color: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-5));
    }

    @mixin hover {
        background-color: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-5));
    }
}

.drop-down-label {
    font-weight: 500;
    font-size: var(--mantine-font-size-sm);
}

.drop-down-left-icon {}

.drop-down-right-icon {
    transition: transform 150ms ease;
    transform: rotate(0deg);

    [data-expanded] & {
        transform: rotate(180deg);
    }
}

.ant-image-mask {
    display: none !important;
}

.ClipSkipInputRoot .mantine-Input-wrapper {
    margin-top: unset;
    margin-left: 10px !important;
}

.mantine-Tabs-panel {
    border-bottom: calc(0.0625rem* var(--mantine-scale)) solid var(--tab-border-color);
    border-right: calc(0.0625rem* var(--mantine-scale)) solid var(--tab-border-color);
    border-left: calc(0.0625rem* var(--mantine-scale)) solid var(--tab-border-color);
    border-radius: 0 0 var(--mantine-radius-default) var(--mantine-radius-default) !important;
    /*-webkit-border-radius: 0 0 var(--tab-radius) var(--tab-radius) !important;
    -moz-border-radius: 0 0 var(--mantine-radius-default) var(--mantine-radius-default) !important;
    -ms-border-radius: 0 0 var(--mantine-radius-default) var(--mantine-radius-default) !important;
    -o-border-radius: 0 0 var(--mantine-radius-default) var(--mantine-radius-default) !important;
    */
}

.InlineTitleDesc p {
    display: inline;
    margin-left: 3px;
}